<div id="viewkm" class="boxkm">
    <div class="tieude">
        <form action="/qlhangsanxuat/themhang" method="get">
            Tên hãng: <input type="text" name="tenhang">
            <input type="submit" value="Thêm hãng">
        </form>
    </div>
    <table>
        <tr class="firstrow">
            <td class="makm">Mã hãng</td>
            <td class="ten">Tên hãng</td>
            <td class="ngay">Sửa</td>
        </tr>
    {foreach $rows as $i}
        <tr class="doimau">
            <td class="makm">{$i.hsx_id}</td>
            <td class="tenkm">{$i.hsx_ten}</td>
            <td class="ngay"><a href="">Sửa</a></td>
        </tr>
    {/foreach}
    </table>
</div>

{css style/viewkm.css}